<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>Bootstrap 101 Template</title>

    <!-- Bootstrap -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" rel="stylesheet">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" rel="stylesheet">
    <link crossorigin="anonymous" integrity="sha384-VK/ia2DWrvtO05YDcbWI8WE3WciOH0RhfPNuRJGSa3dpAs5szXWQuCnPNv/yzpO4" href="https://lib.baomitu.com/jqueryui/1.12.1/jquery-ui.min.css" rel="stylesheet">
    <link href="static/home/css/index.css" rel="stylesheet">
    <!-- HTML5 shim 和 Respond.js 是为了让 IE8 支持 HTML5 元素和媒体查询（media queries）功能 -->
    <!-- 警告：通过 file:// 协议（就是直接将 html 页面拖拽到浏览器中）访问页面时 Respond.js 不起作用 -->
    <!--[if lt IE 9]>
    <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
    <![endif]-->
</head>
<body>

<div class="col-sm-3 col-md-2 sidebar">
    <ul class="nav nav-sidebar">
        <li class="logo">
            <a href="/"><h1>58tbook</h1></a>
            <p>你想要的都在这里！</p>
        </li>
        <li>
            <div class="hr-line">
                <hr class="line"><span>玩一玩</span><hr class="line">
            </div>
        </li>
    </ul>
    <ul class="nav nav-sidebar">
        <li><a href="">搜一搜</a></li>
        <li><a href="">看一看</a></li>
        <li>
            <div class="hr-line">
                <hr class="line"><span>导航网站</span><hr class="line">
            </div>
        </li>
    </ul>
    <ul class="nav nav-sidebar">
        <li><a href="">好站推荐</a></li>
        <li><a href="">广告人</a></li>
        <li><a href="">设计师</a></li>
        <li><a href="">程序猿</a></li>
        <li><a href="">学生党</a></li>
        <li>
            <div class="hr-line">
                <hr class="line"><span>个人中心</span><hr class="line">
            </div>
        </li>
    </ul>
    <ul class="nav nav-sidebar">
        <li><a href="">我的消息</a></li>
        <li><a href="">我的收藏</a></li>
        <li><a href="">登录/注册</a></li>
    </ul>
</div>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
    <div class="login">
        <h2>注册</h2>
        <form action="/register" method="post">
            <div class="form-group">
                <label for="exampleInputEmail">用户名</label>
                <input type="user_name" class="form-control" name="user_name" placeholder="请输入用户名">
                <div class="text-neg text-small user_name-error-msg">{{$errMsg['user_name']}}</div>
            </div>
            <div class="form-group">
                <label for="exampleInputEmail">Email</label>
                <input type="email" id="autocomplete" name="email" class="form-control"  placeholder="请输入正确的邮箱地址">
                <div class="text-neg text-small email-error-msg">{{$errMsg['email']}}</div>
            </div>
            <div class="form-group">
                <label for="exampleInputPassword1">验证码</label>
                <div class="input-group">
                    <input type="text" class="form-control" name="code" placeholder="请输入验证码">
                    <div class="input-group-addon code-button" onclick="sendEmailCode(this)">发送验证码</div>
                </div>
                <div class="text-neg text-small code-error-msg">{{$errMsg['code']}}</div>
            </div>
            <div class="form-group">
                <label for="exampleInputPassword1">密码</label>
                <div class="input-group">
                <input type="password" name="password" class="form-control" placeholder="请输入密码">
                    <div class="input-group-addon look-pwd"> <span class="glyphicon glyphicon-eye-close"></span></div>
                </div>
                <div class="text-neg text-small password-error-msg">{{$errMsg['password']}}</div>
            </div>
            <div class="grid half collapse-xs gap-xl v-center mt-m">
                <div class="text-small">
                    <a href="/login">已经注册过账户了?</a>
                </div>
                <div class="from-group text-right">
                    <input type="hidden" name="_token" value="{{ csrf_token() }}">
                    <button class="button">创建账户</button>
                </div>
            </div>
        </form>
    </div>

</div>

<!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
<script src="https://cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js"></script>
<!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js"></script>
<script crossorigin="anonymous" integrity="sha384-Ysr53n0PIGi7rAduJ+BAMGbxA9RFQwIQfPh2bD9pf1x3vrnDsdX4SlwCNpxmrPIi" src="https://lib.baomitu.com/layer/3.1.1/layer.js"></script>
<script crossorigin="anonymous" integrity="sha384-PtTRqvDhycIBU6x1wwIqnbDo8adeWIWP3AHmnrvccafo35E7oIvW7HPXn2YimvWu" src="https://lib.baomitu.com/jqueryui/1.12.1/jquery-ui.min.js"></script>
<script src="/static/home/js/common.js"></script>
<script>





</script>
</body>
</html>
